ResultApiJavaImpl

Functions

Link copied to clipboard
open override fun <T : Any> createResultProvider(fallback: Supplier<T>, clazz: Class<T>): ResultProvider<T>

Creates a result provider that will return values of the given type from valid config scopes matching that type.

open override fun <T : Any> createResultProvider(fallback: Supplier<T>, drillFunction: ResultProviderSupplierJava<T>): ResultProvider<T>

Creates a result provider that will return values of the given type from valid config scopes matching that type, with a custom Supplier generator instance.

Link copied to clipboard
open override fun <T : Any> createSimpleResultProvider(fallback: T, clazz: Class<T>): ResultProvider<T>

Creates a result provider that will return values of the given type from valid config scopes matching that type.

open override fun <T : Any> createSimpleResultProvider(fallback: T, drillFunction: ResultProviderSupplierJava<T>): ResultProvider<T>

Creates a result provider that will return values of the given type from valid config scopes matching that type, with a custom Supplier generator instance.